package com.bsoft.gol.hcb.service.rpc.impl;

import ctd.net.rpc.Client;
import ctd.util.annotation.RpcService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.bsoft.gol.hcb.service.rpc.OdsVisitMedicalIntf;

public class OdsVisitMedicalImpl  implements OdsVisitMedicalIntf {
    private static Logger logger = LoggerFactory.getLogger(OdsVisitMedicalImpl.class);
    @Override
    @RpcService
    public String queryDescription(String visitId) {
        try {
            return (String) Client.rpcInvoke("hco.organization", "queryDescription", visitId);
        } catch (Exception e) {
            logger.error("查询病人信息失败：" + e.getMessage());
            return null;
        }
    }
}
